<?php
/*
 * Xibo - Digital Signage - http://www.xibo.org.uk
 * Copyright (C) 2010 Larry Kluger
 *
 * This file is part of Xibo.
 *
 * Xibo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version. 
 *
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");

/*
 * This file controls various meta-level settings for the server. Used
 * to affect the branding and other settings when used in a saas environment
 *
 */

if (!defined('XIBO_ADMIN')) {
  DEFINE('XIBO_ADMIN', 'xibo_admin');
  # The reserved user name that is the overall admin user
  # This is also the first user that is created upon db
  # install.
  #
  # NB: If you change this setting, then you must also
  #     also change the default user db record creation 
  #     by using the xibo_admin setting in the create_account
  #     perl script's config.yaml file.
  
  DEFINE('SAAS_NAME', 'Xibo'); # The formal name of your saas service
  
  # Branding image files
  # img/favicon.ico
  # img/header.png
  # img/login/complogo.png
  
  DEFINE('PPT_OK', true);  # Should powerpoint media be enabled?
                           # If not, you will also need to update the database--
                           # Use the ppt_ok setting in the create_account perl script's config.yaml file.
  
  DEFINE('STATS_OK', true);  # Should users be asked about statistics back to Xibo-central? 
  
  DEFINE('BUG_INSTRUCTIONS', false); # false -- show default Xibo bug reporting instructions to users.
                                     # Or use the html contained in this variable as intructions to the
                                     # user on how to report bugs or problems.
                              
  DEFINE('SHOW_ERROR_SETTINGS', false); # Should the Management / Settings "Error" tab be shown?
  
  DEFINE('SHOW_PATH_SETTINGS', false); # Should the Management / Settings "Path" tab be shown?
  
  DEFINE('SHOW_PHONE_HOME', false); # Should the Management / Settings "General" tab include Phone_home setting?
}
?>